package wnhz.com.business.groupshop.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017-10-25 0025.
 */

public class HomeIndexBean implements Serializable{


    /**
     * re : 1
     * info : {"cate_list":[{"cate_id":"0","classname":"首页"},{"cate_id":"1","classname":"水果"},{"cate_id":"2","classname":"美妆"},{"cate_id":"3","classname":"电器"},{"cate_id":"4","classname":"美食"},{"cate_id":"5","classname":"家居"},{"cate_id":"12","classname":"母婴"}],"home_cate":[],"goods":[{"goods_id":"5","goods_name":"女衣","group_price":"0.00","logo_pic":"http://syb.unohacha.com/Public/Api/Images/1.png","sales":"0"},{"goods_id":"10","goods_name":"女衣","group_price":"0.00","logo_pic":"http://syb.unohacha.com/Public/Api/Images/1.png","sales":"0"},{"goods_id":"12","goods_name":"女衣","group_price":"0.00","logo_pic":"http://syb.unohacha.com/Public/Api/Images/1.png","sales":"0"},{"goods_id":"14","goods_name":"女衣","group_price":"0.00","logo_pic":"http://syb.unohacha.com/Public/Api/Images/1.png","sales":"0"},{"goods_id":"16","goods_name":"女衣","group_price":"0.00","logo_pic":"http://syb.unohacha.com/Public/Api/Images/1.png","sales":"0"},{"cate_id":"12","classname":"母婴"}],"banner":[{"id":"1","pic":"http://syb.unohacha.com/Uploads/Picture/uploads/20171025/59f0940f3981d.jpg","title":"首页轮播图","url":"","type":"0","isdel":"0","sort":"0","create_at":"1508938768"}]}
     */

    private String re;
    private InfoBean info;

    public String getRe() {
        return re;
    }

    public void setRe(String re) {
        this.re = re;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        private List<CateListBean> cate_list;
//        private List<?> home_cate;
        private List<GoodsBean> goods;
        private List<BannerBean> banner;

        public List<CateListBean> getCate_list() {
            return cate_list;
        }

        public void setCate_list(List<CateListBean> cate_list) {
            this.cate_list = cate_list;
        }

//        public List<?> getHome_cate() {
//            return home_cate;
//        }
//
//        public void setHome_cate(List<?> home_cate) {
//            this.home_cate = home_cate;
//        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public static class CateListBean {
            /**
             * cate_id : 0
             * classname : 首页
             */

            private String cate_id;
            private String classname;

            public String getCate_id() {
                return cate_id;
            }

            public void setCate_id(String cate_id) {
                this.cate_id = cate_id;
            }

            public String getClassname() {
                return classname;
            }

            public void setClassname(String classname) {
                this.classname = classname;
            }
        }

        public static class GoodsBean {
            /**
             * goods_id : 5
             * goods_name : 女衣
             * group_price : 0.00
             * logo_pic : http://syb.unohacha.com/Public/Api/Images/1.png
             * sales : 0
             * cate_id : 12
             * classname : 母婴
             */

            private String goods_id;
            private String goods_name;
            private String group_price;
            private String logo_pic;
            private String sales;
            private String cate_id;
            private String classname;

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGroup_price() {
                return group_price;
            }

            public void setGroup_price(String group_price) {
                this.group_price = group_price;
            }

            public String getLogo_pic() {
                return logo_pic;
            }

            public void setLogo_pic(String logo_pic) {
                this.logo_pic = logo_pic;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getCate_id() {
                return cate_id;
            }

            public void setCate_id(String cate_id) {
                this.cate_id = cate_id;
            }

            public String getClassname() {
                return classname;
            }

            public void setClassname(String classname) {
                this.classname = classname;
            }
        }

        public static class BannerBean {
            /**
             * id : 1
             * pic : http://syb.unohacha.com/Uploads/Picture/uploads/20171025/59f0940f3981d.jpg
             * title : 首页轮播图
             * url :
             * type : 0
             * isdel : 0
             * sort : 0
             * create_at : 1508938768
             */

            private String id;
            private String pic;
            private String title;
            private String url;
            private String type;
            private String isdel;
            private String sort;
            private String create_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getIsdel() {
                return isdel;
            }

            public void setIsdel(String isdel) {
                this.isdel = isdel;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getCreate_at() {
                return create_at;
            }

            public void setCreate_at(String create_at) {
                this.create_at = create_at;
            }
        }
    }
}
